﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TaskScheduling
{
    /// <summary>
    /// 忙时区间的持久类
    /// </summary>
    [Serializable]
    public class BusyTime
    {
        #region Fileds
        private DateTime begin;
        private DateTime end;
        #endregion

        #region Properties
        /// <summary>
        /// 忙时开始
        /// </summary>
        public DateTime Begin
        {
            get { return begin; }
            set { begin = value; }
        }

        /// <summary>
        /// 忙时结束
        /// </summary>
        public DateTime End
        {
            get { return end; }
            set { end = value; }
        }
        #endregion
    }
}
